import request from "./request";

export const getQuestion =(data)=>{
  return request({
    url:"/games/gameTitle/selectModuleList",
    method:"get",
    data
  })
}

export const getOpenId = (data)=>{
  return request({
    url:"/games/wx/findOpenId",
    method:"get",
    data
  })
}

export const getClassify = (data)=>{
  return request({
    url:"/games/gameTitle/treeselect",
    data
  })
}

export const addScore = data =>{
  return request({
    url:"/games/gameScore/add",
    data,
    method:"post"
  })
}

export const getScore = data =>{
  return request({
    url:"/games/gameScore/paihangbang",
    data
  })
}